@extends('admin.layout.index')



@section('content')
	
<div id="page-inner">
	<div class="card-content">
	 	<form class="col s12" method="post" action="/admin/configuration/update" enctype="multipart/form-data">
			{{ csrf_field() }}
			<div class="row">
				<div class="input-field col s12">
				  	网站标题：<i class="material-icons prefix">description</i>
				  	<input id="icon_prefix" type="text" name="title" value="{{ $data['title'] }}" class="validate">
				  	<label for="icon_prefix"></label>
				</div>
				
			</div>
			<div class="row">
				<div class="input-field col s12">
					
				  	网站版权：<i class="material-icons prefix">description</i>
				  	<input id="icon_prefix" type="text" name="copyright" value="{{ $data['copyright'] }}" class="validate">
				  	<label for="icon_prefix"></label>
				</div>
			</div>
			<div class="row">
				<div class="input-field col s12">
				
				  	网站关键字：<i class="material-icons prefix">description</i>
				  	<input id="icon_prefix" type="text" name="keyword" value="{{ $data['keyword'] }}" class="validate">
				  	<label for="icon_prefix"></label>
				</div>
			</div>
			网站logo:
			<div class="file-field input-field">
				<div style="width:100px;height:100px;border:1px solid #ccc;margin-bottom:10px">
		     		<img src="{{ $data['logo'] }}" style="width:98px;height:98px">
		     	</div>
		      	<div class="btn">
		       		<span>File</span>
		        	<input type="file" multiple name="logo" value="{{ $data['logo'] }}">
		     	</div>
		     	
		      	<div class="file-path-wrapper">
		        	<input class="file-path validate" type="text" name="logo" value="{{ $data['logo'] }}" placeholder="Upload one or more files">
		      	</div>
				
	   		</div>
	   		
		  <!--  	<div class="switch" style="margin-top:30px">
			   <span style="color:#9e9e9e;font-weight:bold;margin-right:30px">网站维护</span>
			    <label>
			     	Off
			     	<input type="checkbox" name="mintain" value="1">
			      	<span class="lever"></span>
			      	On
			    </label>
		  	</div> -->
	   		



		    	<input type="submit" value="修改" style="width:150px;height:50px;font-weight:bold;font-size:16px;color:#333;margin-left:300px">
		 		<input value="重置"  type="reset" style="width:150px;height:50px;font-weight:bold;font-size:16px;color:red;margin-left:30px">
		</form>
	</div> 
</div>
@endsection('content')
